package com.demo.entity;

import com.demo.annotation.Component;
import com.demo.annotation.Value;
import lombok.Data;

import java.time.LocalDateTime;

@Component()
@Data
public class Person {
    @Value("jackson")
    private String name;
    @Value("11")
    private Integer age;
    @Value("2021-09-22 10:10:10")
    private LocalDateTime birthday;
}
